package com.aatattoo.light_food_service.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @Author aatattoo
 * @Date 2022/3/2 12:15 下午
 * @msg:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LikeMsg {
    //动态、评论、或回复的id,点赞内容的id
    private int id;
    //type:1-动态 2-评论 3-回复
    private int type;
    //点赞用户的userId
    private int userId;
    //点赞内容
    private String content;
    //点赞时间
    private Timestamp createTime;
    //评论父ID为动态Id，回复父id为评论id，点赞内容的父id
    private int parentId;
}
